/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.edu.flf.audioteca.factory.impl;

import br.edu.flf.audioteca.bo.IArtistaBO;
import br.edu.flf.audioteca.bo.impl.ArtistaBO;
import br.edu.flf.audioteca.factory.IBOFactory;

/**
 *
 * @author Nathan Azevedo
 */
public class BOFactory implements IBOFactory {

    private static IBOFactory bOFactory = null;

    public IArtistaBO getArtistaBO() {
        return ArtistaBO.getInstance();
    }

    public static IBOFactory getInstance() {
        if (bOFactory == null) {
            bOFactory = new BOFactory();
        }
        return bOFactory;


    }
}
